package com.wzx.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wzx.user.dto.UserDto;
import com.wzx.user.pojo.User;
import com.wzx.user.vo.UserVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author wzx
 * @version 1.0
 * @date 2022/4/18 - 19:29
 * @description 标题
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {
    int updateUserInfo(UserVo userVo);

    List<UserDto> selectFriendByGroup(@Param("userId") Integer userId, @Param("gid") Integer gid);

    void updateIdentity(@Param("realName") String realName, @Param("idCard") String idCard, @Param("userId") Integer userId);
}
